package cc.wanforme.chipmunity.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import cc.wanforme.chipmunity.system.service.interfaces.TableTService;

@Controller
@RequestMapping("/test")
public class TestController {
	
	@Autowired
	private TableTService tableTService;
	
	@RequestMapping("/t-mp")
	public void test() {
		tableTService.TestInsertResult();
	}
	
	@RequestMapping("/controller")
	@ResponseBody
	public String testController(String page, String count) {
		System.out.println(page +" "+ count);
		return "success";
	}
	
}
